home *** CD-ROM | disk | FTP | other *** search
- Path: sourcery.han.de!not-for-mail
- Newsgroups: comp.sys.amiga.programmer
- References: <4hpcku$3aq@ousrvr3.oulu.fi> <13213732@sourcery.han.de> <4ibd9t$1gr@ousrvr3.oulu.fi>
- From: "Olaf Barthel" <olsen@sourcery.han.de>
- Date: Sat, 16 Mar 1996 13:52:21 +0100
- X-NewsReader: IntuiNews 1.3a (7.9.95)
- Subject: Re: Q: Change SuperBitMap planes?
- Message-ID: <13213751@sourcery.han.de>
-
- In Article <4ibd9t$1gr@ousrvr3.oulu.fi>, Timo Karjalainen <tikarjal@haapa.oulu.fi> wrote:
- > : > can the BitMap be changed while Intuition is displaying the window?
- > : No, it's not legal.
- >
- > : The way layers work, you can't do it without wreaking major havoc
- > : on the rest of the screen layers and other objects which cache bitmap
- > : pointers.
- >
- > How does Intuition manage sizable normal windows? When enlargened they'll
- > need more display memory. I think Intuition would need to switch to a
- > bigger BitMap?
-
- No, this is not how it works. Intuition does not allocate one single BitMap
- for each Window. What you see as a window is a Layer, a rectangular area made up
- from clipping regions. These regions in turn will hold BitMaps drawing operations
- will end up rendering into.
-
- > If Intuition does it in a magic way, why not make it publicly usable with
- > an LVO entry like ChangeWindowBitMap( win, newbm ) and something similar
- > in layers.library?
-
- Intuition is not involved in this operation, it's up to layers.library to
- do the work. Yanking the clipping regions from the Window Layer and replacing
- them in the next turn is not something done lightly.
-
- > Also I find it rather odd that RKMs and AutoDocs don't say ANYTHING about
- > this. I'd presume they'd either deny it or note that it can be done (and
- > tell the proper procedure).
-
- layers.library itself is sorely underdocumented in the first place.
- Unless you have a very good reason to do so, you should not be messing with
- Layers anyway. The relation between Layers and Intuition is an intimate one,
- the slightest error is bound to cause great trouble. It's just too easy to
- deadlock Intuition through Layers.
-
- --
- Home: Olaf Barthel, Brabeckstrasse 35, D-30559 Hannover
- Net: olsen@sourcery.han.de
-